home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / doors_2 / verf401a.zip / ADDENDUM.DOC < prev    next >
Text File  |  1992-10-03  |  20KB  |  349 lines

  1.     
  2.     
  3.                      Addendum Documentation and Setup Hints for
  4.                   The Complete User Registration Management System
  5.                                     Version 4.0
  6.     
  7.     
  8.         Hints for Setting Up the Program:
  9.     
  10.                 Over the past few years, I have had many sysops call me needing
  11.         help setting  up  the door program.  I have no problems with the setup.
  12.         However, I programed it, so I understand  exactly  the  way the program
  13.         works.  If you are having trouble, read through this  section,  and  if
  14.         you are  still  confused,  give  my  BBS a call and leave me a note for
  15.         help, I'll get back to you within 48 hours in most cases.
  16.     
  17.                 Let's do this in an orderly  manner  so  maybe  it's  easier to
  18.         understand.  I will not go into details about the various file formats,
  19.         etc., you can refer to the documentation for the verifier door for that
  20.         information.
  21.     
  22.         Step #1:  Decide on TEMPORARY Security Levels for NEW USERS
  23.     
  24.                 This section can be one of the most confusing.   The  door will
  25.         upgrade new  users  to  a TEMPORARY level which had whatever access you
  26.         want new users to have until they  are  verified  through the door from
  27.         the registration  number  you  send them created by  the  door.   These
  28.         temporary security  levels  are  given  from the script questionnaires.
  29.         Each script will upgrade the user  to a new security level, new expired
  30.         security level, days to expiration and additional conferences.   In  my
  31.         setup that  is  part  of  the archive, I have script questionnaires and
  32.         TEMPORARY Security settings for the following types of users:
  33.     
  34.         For my setups, I'd record the following information:
  35.     
  36.         Script Questionnaire          Temp.Sec.   Exp.Sec.   Exp.Days.  Confs.
  37.     
  38.         Regular Users                    8           8          60        0
  39.         Visiting Co-Sysops               9           9          60        6,7
  40.         Visiting Sysops                 10          10          60        6,7
  41.         Visiting MetroLink Sysops       11          11          60        5
  42.         Overseas Callers                37          30          60        0
  43.     
  44.                 Each of these scripts has  it's  own Temporary Upgrade Settings
  45.         contained in the control file SCRIPTS.DAT explained  later.   For  now,
  46.         just decide  and  write  down the levels you want TEMPORARY levels for,
  47.         the user's expired security level,  expiration  date and any additional
  48.         conferences you would like them to have access to, if any.  Each Script
  49.         also allows a minimum and maximum security level for  new  users  to be
  50.         allowed to  answer  it.   Their current security level must fall within
  51.         the range you specify for them to  be  asked if they want to answer the
  52.         questionnaire.  So, keep in mind the ranges to have  the  questionnaire
  53.         available.  (I only allow users with a level 10 to answer the MetroLink
  54.         script since  they  are supposed to be sysops, and should have answered
  55.         the SYSOP script, if not, they don't get asked the MetroLink script.
  56.     
  57.            __________________________________________________________________
  58.             Lance Williams, Author    (315)245-3815 USR DS HST/V.32   Page 1
  59.                    Verifier Door Addendum Documentation & Setup Hints
  60.     
  61.         Step #2:  Decide on VERIFIED Security Levels for NEW USERS
  62.     
  63.                 Now you  need  to  decide  how  the  temporary  levels  will be
  64.         upgraded when they get their registration  number  in the mail and call
  65.         your system back and enter the door.  You will need  an  upgrade  level
  66.         for EACH different security level you have available in your scripts.
  67.     
  68.                 These new levels are the final upgrades done by the door except
  69.         for credit  card  subscription  purchases.  In my setup, I have a final
  70.         upgrade for each of the scripts mentioned in Step #1.  These levels are
  71.         stored in your door configuration  file, so you have different upgrades
  72.         for different nodes.  You can also set the expired  security  level and
  73.         the expiration  date,  so  decide  on  those as well for each TEMPORARY
  74.         Security level and write them down.   For  my  setup,  I would have the
  75.         following:
  76.     
  77.         Type of User:              Temp.Sec.    Reg.Sec.   Exp.Sec.   Exp.Days
  78.     
  79.         Regular Users                  8          55          30        365
  80.         Visiting Co-Sysops             9          78          78          0
  81.         Visiting Sysops               10          90          90          0
  82.         Visiting MetroLink Sysops     11          96          90          0
  83.         Overseas Callers              37          55          30          0
  84.     
  85.                                      (Expiration Days = 0 for no expiration)
  86.     
  87.     
  88.         Step #3:  Write your script questionnaires for upgrading access
  89.     
  90.                 This is easy enough.  Just figure out what you want to ask your
  91.         users for  each  level of access you will be giving  with  each  script
  92.         questionnaire.  You  should  also  keep  in mind the type of answer you
  93.         want each question to allow, as  you  can  control  the  answers to the
  94.         questions from the script questionnaire file.  You  will  also  have to
  95.         decide on  a path/filename for an intro screen to the script as well as
  96.         a single line description.  If you  want  a  script to be mandatory for
  97.         all users, put $ALL$ in the single line description, and the users will
  98.         be forced  to answer the script.  I do that with my  BASIC.DAT  script,
  99.         which is for all new users.
  100.     
  101.                 To see some sample scripts, take a look at the ones included
  102.         in the archive.  They are too long to include here.  Write these
  103.         script questions down for later reference.
  104.     
  105.     
  106.         Step #4:  Decide on CURRENT USERS script upgrades
  107.     
  108.                 Each script questionnaire can also be used for CURRENT Users to
  109.         be allowed to upgrade their access.  So, like the TEMPORARY Levels, you
  110.         can decide  what upgrade you want a user to have if the user is already
  111.         on the system (not a NEW USER).   The  access to these scripts can also
  112.         be controlled by a minimum security level, as with  new  users.  For my
  113.         setup, it looks like this:
  114.     
  115.            __________________________________________________________________
  116.             Lance Williams, Author    (315)245-3815 USR DS HST/V.32   Page 2
  117.                    Verifier Door Addendum Documentation & Setup Hints
  118.     
  119.     
  120.         Script Questionnaire         Min.Sec.   New Sec.   Exp.Sec.  Exp.Days.
  121.     
  122.         Regular Users                   30          -1        -1         0
  123.         Visiting Co-Sysops              30          78        78         0
  124.         Visiting Sysops                 30          90        90         0
  125.         Visiting MetroLink Sysops       80          96        90         0
  126.         Overseas Callers                30          55        30         0
  127.     
  128.                                         (Sec. Level = -1 for NO CHANGE)
  129.     
  130.     
  131.     
  132.         Step #5:  Set up the Script Questionnaires and SCRIPTS.DAT file
  133.     
  134.                 Well, now  that  you have decided on all the information above,
  135.         you are ready to start to configure  your  system.   You  can start the
  136.         CONFIG.EXE program, as it's the easiest way to do the setup.  So, start
  137.         the CONFIG  program, an you are presented with the main  menu.   Select
  138.         option #2  first  to  setup your script files.  Just follow the prompts
  139.         and enter the information as you  recorded  it  already.   Your  script
  140.         questionnaire files and the SCRIPTS.DAT file will  be  created  as  you
  141.         enter the scripts.  If you want to change the order of the scripts that
  142.         are asked,  just  edit your SCRIPTS.DAT file to change the order of the
  143.         lines.
  144.     
  145.     
  146.     
  147.         Step #6:  Set up the door configuration files
  148.     
  149.                 After you have set up all your scripts and have returned to the
  150.         main menu of the CONFIG.EXE program,  you  can now select option #1 and
  151.         set up the CFG files for the door.  You need a separate  one  for  each
  152.         node.  All  of  the  information  you  are  prompted  for is simple and
  153.         straight forward, except for the  final  entries,  which  are  what you
  154.         decided on in Step #2 above.  For the display screens, you can put them
  155.         into a subdirectory off of the door directory, and use a shortened path
  156.         statement to  direct  the  program to the files (IE:  SCREENS\WELCOME).
  157.         Just enter the information as you are prompted.
  158.     
  159.     
  160.     
  161.         Step #7:  Set up PCBoard's PWRD file for the new security levels
  162.     
  163.                 You must  remember  to  have an entry in your PCBoard PWRD file
  164.         for each security level you have  in  all  of your configuration areas.
  165.         If you do no have an entry in the PWRD file for a security  level, when
  166.         someone is  assigned  that  level and is then returned to PCBoard, they
  167.         will get an error message that there  is no corresponding entry in PWRD
  168.         so their time is set to 10 minutes.  Usually, the user  was in door for
  169.         almost 10  minutes,  so they are logged off, having used all their time
  170.         for the day!
  171.     
  172.     
  173.            __________________________________________________________________
  174.             Lance Williams, Author    (315)245-3815 USR DS HST/V.32   Page 3
  175.                    Verifier Door Addendum Documentation & Setup Hints
  176.     
  177.     
  178.         Step #8:  Decide on Credit Card Subscription Levels and Setups
  179.     
  180.     
  181.                 If you  are  not  going  to offer credit card subscriptions, be
  182.         sure that your UPGRADES.DAT file has  been deleted, along with security
  183.         display screens,  all  of  which  were  contained  within  the  sub-zip
  184.         CREDCARD.ZIP, or just don't unzip the file CREDCARD.ZIP.
  185.     
  186.                 If you  are going to offer credit card subscriptions, unzip the
  187.         file CREDCARD.ZIP into a subdirectory  off  your  main  door directory.
  188.         This will store your help screens and displays in a  separate  location
  189.         from all  the rest of the door.  Move the UPGRADES.DAT file to the main
  190.         verifier door directory so the program can access it.
  191.     
  192.                 For credit card subscriptions,  you  need  to  decide  what the
  193.         levels, subscription  term, additional conferences,  the  cost  of  the
  194.         subscription, and  the  information display file are going to be.  Once
  195.         you decide  these figures, the  rest  is  easy.   For  my  setups,  the
  196.         decisions look like the following:
  197.     
  198.             Sec.     Exp. Days   Confs.      Cost      Disp. file
  199.     
  200.              40         365         0         15.00     SUBS\40
  201.              45         365         0         20.00     SUBS\45
  202.              50         365         0         25.00     SUBS\50
  203.              55         365         0         30.00     SUBS\55
  204.              60         365         0         40.00     SUBS\60
  205.              65         365         0         50.00     SUBS\65
  206.     
  207.     
  208.                 You also have to decide on the location to  store  your invoice
  209.         files, both  your  copy  and  the  copy  do  be downloaded by the user.
  210.         Collection of Sales Tax is also handled  by the door, if you need to do
  211.         so.  See VERIFIER.DOC for more details on all of these settings.  These
  212.         and other display files are all prompted for in the CONFIG.EXE  program
  213.         when you set up your UPGRADES.DAT file.
  214.     
  215.                 Now that you have all this information together for your credit
  216.         card subscriptions,  you  can  run  CONFIG.EXE  and set up your copy of
  217.         UPGRADES.DAT.
  218.     
  219.     
  220.         Step #9:  Design your display screens for all areas
  221.     
  222.                 Well, now that you have configured  the system for your setups,
  223.         about all  you have left to do is create your display  screens.   Print
  224.         out a copy of your .CFG, scripts and UPGRADES.DAT file so you have them
  225.         for reference.  You will need to create at least one display screen for
  226.         each of  the  display  flies  listed  in  each of the above files.  The
  227.         program supports PCBoard's @X##  color  codes,  so  you  can create one
  228.         screen to have it serve both color and non-color callers, if you wish.
  229.     
  230.     
  231.            __________________________________________________________________
  232.             Lance Williams, Author    (315)245-3815 USR DS HST/V.32   Page 4
  233.                    Verifier Door Addendum Documentation & Setup Hints
  234.     
  235.     
  236.                 All of  the  screens are also language specific, using the same
  237.         language extension as for PCBoard.   If you have alternate languages on
  238.         PCBoard, and would like alternate languages in the  door,  then  create
  239.         the language specific screens with the proper language extension.
  240.     
  241.                 All of  the  display  screens  in the .CFG file, except for the
  242.         SCRIPTS menu  screen, are security  specific.   If  you  wish  to  have
  243.         security specific screen for these displays, you can  do  so by cutting
  244.         the filename  to  the  first 4 characters and adding the security level
  245.         and possible "G" for graphics.  The security specific versions are also
  246.         language specific.  Here's and example using the WELCOME screen:
  247.     
  248.         Regular Welcome screen:                 WELCOME.
  249.         Graphics Version:                       WELCOMEG.
  250.         Language Specific (French):             WELCOME.FRE
  251.         Graphics Language Version:              WELCOMEG.FRE
  252.         Security Specific (Level 15):           WELC15.
  253.         Graphics Security Version:              WELC15G.
  254.         Security Language Version:              WELC15.FRE
  255.         Security Language Graphics Version:     WELC15G.FRE
  256.     
  257.                 The screens also support  some  of  the PCBoard @MACRO@ macros.
  258.         Here is a list of what is available.  The text inside  the  @'s MUST be
  259.         in CAPS!
  260.     
  261.             @FIRST@                 First name of caller
  262.             @FIRSTU@                First name in all upper case
  263.             @MINLEFT@               Minutes remaining
  264.             @TIMELEFT@              Minutes remaining
  265.             @USER@                  User's full name
  266.             @NODE@                  Node number
  267.             @SYSDATE@               Current date
  268.             @SYSTIME@               Current time
  269.             @BEEP@                  Beep the speaker
  270.             @CLS@                   Clear the screen
  271.             @MORE@                  Display a more prompt
  272.             @WAIT@                  Display a press any key prompt
  273.     
  274.                 That should   make  it  pretty  self-explanatory.   It  handles
  275.         security specific screens a little  differently  than PCBoard does, but
  276.         it also works as well.
  277.     
  278.     
  279.         Step #10: Test your setups
  280.     
  281.                 Well, now  that  you  have completed all of these  setups,  you
  282.         should be  able  to  test  the door.  Be sure you have created the door
  283.         batch file as instructed in the VERIFIER.DOC file, and added it to your
  284.         PCBoard DOORS.DAT (or DOORS.LST)  file.   If  you  have problems, check
  285.         back thru both this file and the VERIFIER.DOC file  to  see if you have
  286.         forgotten anything  before  calling  for help.  I am more than happy to
  287.         help, but I am trying to save you some money on long distance calls...
  288.     
  289.            __________________________________________________________________
  290.             Lance Williams, Author    (315)245-3815 USR DS HST/V.32   Page 5
  291.                    Verifier Door Addendum Documentation & Setup Hints
  292.     
  293.     
  294.         Error Codes from Program:
  295.     
  296.         To help  you  with  possible  errors in your setups causing the door to
  297.         error out,  here is a listing of  possible  error  codes  used  by  the
  298.         program:
  299.     
  300.         First, there  is  an  error  log  file  created  by   the  door  called
  301.         DOORSORC.ERR and  one  by  the  MAILING.EXE  called MAILING.ERR.  These
  302.         files will contain the error codes,  possible  descriptions of what the
  303.         error is.  If an unforeseen error occurs, it logs it  as such.  Here is
  304.         a list of what all the possible error codes mean:
  305.     
  306.         Error Number        Description
  307.     
  308.              5          Illegal Function Call (Usually Program Problem)
  309.              6          Overflow
  310.              7          Out of Memory (Increase available memory)
  311.              9          Subscript Out of Range (Script Quest. Problem)
  312.             13          Type mismatch (Wrong order in .CFG entry)
  313.             24 **       Device Timeout (Printer Problem?)
  314.             25 **       Device Fault (Printer Problem?)
  315.             27 **       Out of Paper (Restock Printer!)
  316.             51          Internal Error - Contact me ASAP
  317.             52          Bad Filename (.CFG or script problem?)
  318.             53 **       File not Found (.CFG or script problem?)
  319.             57          Device I/O Error
  320.             58          Bad Record Length (Corrupted MAILLIST.DAT?)
  321.             61          Disk Full
  322.             62 **       Input Past End of File (.CFG or script problem?)
  323.             63          Bad record number (Corrupted MAILLIST.DAT?)
  324.             64 **       Bad Filename (.CFG or script problem?)
  325.             67          Too Many Files (Increase FILES= in CONFIG.SYS)
  326.             68          Device unavailable
  327.             70 **       Sharing error - Load SHARE.EXE in your AUTOEXEC.BAT
  328.             71 **       Disk Not Ready
  329.             72          Disk-Media Error
  330.             74          Rename across disk
  331.             75 **       Path/File access error (.CFG or script problem?)
  332.             76 **       Path not found (.CFG or script problem?)
  333.     
  334.             ** -  Handled  internally  by the program.  If fixable, it's fixed,
  335.                  otherwise a proper error  message  is displayed and written to
  336.                  the error log file, then the program return  to  dos  with  an
  337.                  unrecoverable error.   In  the door, your door batch file will
  338.                  return the caller to the board.
  339.     
  340.                  If the error is unexpected,  the  log  file is written and the
  341.                  program returns to DOS with an unrecoverable  error, where the
  342.                  door batch file will return the caller to the board.
  343.     
  344.              There are  some  other error codes, but they are strictly program-
  345.         code related....  If you get one that is not listed let me know ASAP!
  346.     
  347.            __________________________________________________________________
  348.             Lance Williams, Author    (315)245-3815 USR DS HST/V.32   Page 6
  349.